package bean;

public class Good {
    private String gid;
    private String gname;
    private String intro;
    private double price;
    private String type;
    private String ccid;
    private int sales;
    private String good_form;
    private String mid;
    private String mname;
    private double weight;

    public Good() {}//无参构造器

    public Good(String gid, String gname, String intro, double price, String type, String ccid, int sales, String good_form, String mid, String mname, double weight) {
        this.gid = gid;
        this.gname = gname;
        this.intro = intro;
        this.price = price;
        this.type = type;
        this.ccid = ccid;
        this.sales = sales;
        this.good_form = good_form;
        this.mid = mid;
        this.mname = mname;
        this.weight = weight;
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCcid() {
        return ccid;
    }

    public void setCcid(String ccid) {
        this.ccid = ccid;
    }

    public int getSales() {
        return sales;
    }

    public void setSales(int sales) {
        this.sales = sales;
    }

    public String getGood_form() {
        return good_form;
    }

    public void setGood_form(String good_form) {
        this.good_form = good_form;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }
}
